@if (ViewBag.AppHeader!=null)
{
	<header class="page-header" role="banner">
		@Html.Partial("_Logo")
		@if (ViewBag.AppLayoutShortcut != null)
		{
			<div class="hidden-md-down dropdown-icon-menu position-relative">
				<a href="#" class="header-btn btn js-waves-off" data-action="toggle" data-class="nav-function-hidden" title="Hide Navigation">
					<i class="ni ni-menu"></i>
				</a>
				<ul>
					<li>
						<a href="#" class="btn js-waves-off" data-action="toggle" data-class="nav-function-minify" title="Minify Navigation">
							<i class="ni ni-minify-nav"></i>
						</a>
					</li>
					<li>
						<a href="#" class="btn js-waves-off" data-action="toggle" data-class="nav-function-fixed" title="Lock Navigation">
							<i class="ni ni-lock-nav"></i>
						</a>
					</li>
				</ul>
			</div>
		}
		<div class="hidden-lg-up">
			<a href="#" class="header-btn btn press-scale-down" data-action="toggle" data-class="mobile-nav-on">
				<i class="ni ni-menu"></i>
			</a>
		</div>
		
    <div class="ml-auto d-flex">
      <div class="hidden-sm-up">
        <a href="#" class="header-icon" data-action="toggle" data-class="mobile-search-on" data-focus="search-field" title="Search">
          <i class="fal fa-search"></i>
        </a>
      </div>
      
      @if (this.Request.IsAuthenticated)
      {
        
        <div>
          <a href="#" data-toggle="dropdown" title="@ViewBag.Email" class="header-icon d-flex align-items-center justify-content-center ml-2">
            <img src="~/Content/img/demo/avatars/@ViewBag.Avatar" class="profile-image rounded-circle" alt="@ViewBag.FullName">
          </a>
          <div class="dropdown-menu dropdown-menu-animated dropdown-lg">
            @Html.Partial("_DropdownMenu")
          </div>
        </div>
       
      }
    </div>
	</header>
}